home *** CD-ROM | disk | FTP | other *** search
/ Crosscountry USA Photo Safari / Crosscountry USA Photo Safari.iso / Data / safari_usa / pak00_16bit_f.pk3 / common / game_config.c4 < prev   
Text File  |  2004-01-21  |  3KB  |  43 lines

  1.       
  2. {
  3.   @game_config{
  4.     resid Game;
  5.     Game = ResByName("Game");
  6.     ResPropSetInt(Game,"game_starting_cash_amount", 100000);   /* $1000 starting cash */    
  7.     ResPropSetInt(Game,"game_salary_per_commodity", 10000);     /* $100 per comodity  */
  8.     ResPropSetInt(Game,"game_salary_bonus_commodity", 35000);     /* $350 per bonus comodity  */      
  9.     ResPropSetInt(Game,"game_truck_lease_cost_per_day", 65000); /* $65 per day */  
  10.     ResPropSetInt(Game,"game_truck_meter_cost_per_mile", 65);   /* 6.5 cents per day */  
  11.     ResPropSetInt(Game,"game_hotel_unit_cost", 5000);        /* $50   per night + city lodging tax */
  12.     ResPropSetInt(Game,"game_distance_per_fuel_unit", 16);   /* truck gets 16 mpg */
  13.     ResPropSetInt(Game,"game_fuel_unit_cost", 100);          /* $1 per gallon */   
  14.     ResPropSetStr(Game,"game_fuel_unit_name", MangleSIDToStr(65629/*"gallon"*/));     /* we work in Gallons */ 
  15.     ResPropSetInt(Game,"game_tank_capacity", 200000);        /* truck has a 200 gallon tank */
  16.     ResPropSetInt(Game,"game_cost_per_tire", 1000);          /* i dont think we use this */
  17.     ResPropSetInt(Game,"game_average_tire_life", 80000);     /* i dont think we use this */ 
  18.     ResPropSetInt(Game,"game_meal_cost", 500);               /* we always eat at for $5 at Lenny's */
  19.     ResPropSetInt(Game,"game_fatigue_limit",129600);         /* sleep gauge runs out at 36 hrs */
  20.     ResPropSetInt(Game,"game_fatigue_threshold",86400);      /* not sleeping for more than 24 hrs starts affecting your driving */
  21.     ResPropSetInt(Game,"game_hunger_limit",86400);           /* sleep gauge runs out at 24 hrs */
  22.     ResPropSetInt(Game,"game_hunger_threshold",72000);       /* after 20 hrs, of not eating, it affects driving */
  23.     ResPropSetInt(Game,"game_business_always_open",1);       /* this game does not use business hours */
  24.     ResPropSetInt(Game,"game_business_open_hour",6);         /* business opens at 6 AM everywhere */
  25.     ResPropSetInt(Game,"game_business_close_hour",22);       /* business close at 10 PM everywhere */
  26.     ResPropSetInt(Game,"game_tire_life_max",2000);           /* tire pops when this limit is hit */
  27.     ResPropSetInt(Game,"game_chance_chains_pullover",8);     /* chance of getting pulled over when chains on */
  28.     ResPropSetInt(Game,"game_chance_speeding_pullover",10);  /* chance of getting pulled over when speeding */
  29.     ResPropSetInt(Game,"game_accident_threshold",35);        /* 35 score: accidents occur when this score is reached, see calc accident */
  30.     ResPropSetInt(Game,"game_fine_chains",20);               /* $20: fine for having chains on pavement */
  31.     ResPropSetInt(Game,"game_time_between_accidents",43200); /* 12 hrs: the time that must elapse between accidents */
  32.     ResPropSetStr(Game,"game_distance_unit", MangleSIDToStr(65630/*"miles"*/));    
  33.     ResPropSetStr(Game,"game_distance_unit_square", MangleSIDToStr(65631/*"square miles"*/));      
  34.     ResPropSetStr(Game,"game_temperature_unit", MangleSIDToStr(65632/*"Fahrenheit"*/)); 
  35.     ResPropSetStr(Game,"game_temperature_unit_short", MangleSIDToStr(65633/*"F"*/)); 
  36.     ResPropSetStr(Game,"game_save_name", "");   
  37.     ResPropSetStr(Game,"game_save_log_name", "");
  38.     ResPropSetInt(Game,"game_time_taken_to_eat", 1800);      /* 30 minutes to eat a meal */
  39.     CVarSetInt("hide_weather_during_load",1);
  40.   }    
  41. }      
  42.       
  43.